home *** CD-ROM | disk | FTP | other *** search
/ Clickx 115 / Clickx 115.iso / software / tools / windows / tails-i386-0.16.iso / live / filesystem.squashfs / usr / include / scribus-ng / tabgeneral.h < prev    next >
Encoding:
C/C++ Source or Header  |  2008-10-30  |  1.5 KB  |  58 lines

  1. /*
  2. For general Scribus (>=1.3.2) copyright and licensing information please refer
  3. to the COPYING file provided with the program. Following this notice may exist
  4. a copyright and/or license notice that predates the release of Scribus 1.3.2
  5. for which a new license (GPL+exception) is in place.
  6. */
  7. #ifndef TABGENERAL_H
  8. #define TABGENERAL_H
  9.  
  10. #include "ui_tabgeneral.h"
  11. #include "scribusapi.h"
  12. #include "langmgr.h"
  13.  
  14. class QString;
  15.  
  16.  
  17. /*! \brief General panel for preferences dialog.
  18. This class is inherited from UI base class.
  19. \author Petr Vanek <petr@scribus.info>
  20. */
  21. class SCRIBUS_API TabGeneral : public QWidget, public Ui::TabGeneral
  22. {
  23.     Q_OBJECT
  24.  
  25.     public:
  26.         TabGeneral(QWidget* parent = 0, const char* name = 0);
  27.         ~TabGeneral(){};
  28.         void restoreDefaults(struct ApplicationPrefs *prefsData);
  29.  
  30. //         LanguageManager langMgr;
  31.         QString selectedGUILang;
  32.  
  33.     private slots:
  34.         void setSelectedGUILang( const QString &newLang );
  35.         /*!
  36.         \author Franz Schmid
  37.         \brief Runs QFileDialog to get Preferences (General) Path to Documents directory
  38.          */
  39.         void changeDocs();
  40.         /*!
  41.         \author Franz Schmid
  42.         \brief Runs QFileDialog to get Preferences (General) Path to Colour Profiles directory
  43.         */
  44.         void changeProfs();
  45.         /*!
  46.         \author Franz Schmid
  47.         \brief Runs QFileDialog to get Preferences (General) Path to Scripts directory
  48.         */
  49.         void changeScripts();
  50.         /*!
  51.         \author Riku Leino
  52.         \brief Runs QFileDialog to get Preferences (General) Path to Document Templates directory
  53.         */
  54.         void changeDocumentTemplates();
  55. };
  56.  
  57. #endif
  58.